package vn.edu.hcmut.cse.ai.search.problems.waterjug;

import vn.edu.hcmut.cse.ai.infrastructure.Action;

public class WaterAction implements Action {

    private final WaterActionType actionType;

    @Override
    public boolean isNoOpAction() {
        return false;
    }

    public WaterAction(WaterActionType actionType) {
        this.actionType = actionType;
    }

    public WaterActionType getActionType() {
        return actionType;
    }

    @Override
    public String toString() {
        return "WaterJugAction{" + "actionType=" + actionType + '}';
    }
}
